﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NetCore6WebAPITestOneEntity
{
    public class LoginAuthModel
    {
        public LoginAuthModel(string key, string value)
        {
            this.Key = key;
            this.Value = value;
        }

        public string Key { get; set; }

        public string Value { get; set; }
    }

    public class LoginModel
    {
        public string Token { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime dt { get; set; }

        /// <summary>
        /// 业务线key
        /// </summary>
        public string SourceKey { get; set; }
    }

    public class LoginAuthEnum
    {
        public static string UserInfo = "userinfo";

        public static string Expires = "Expires";

        public static string SourceFromKey = "SourceFrom";
    }
}
